libxenlight: wait for pv qemu initialization
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 1 Dec 2009 14:03:42 +0000 (14:03 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 1 Dec 2009 14:03:42 +0000 (14:03 +0000)
commit6a56a7c67b4e6fbbb2988046c38822cc1b3dc4e3
tree2c0557ed507f560aa26ddd8af41f4b4227cca09a
parent95b697252f765f9433c45f7115ed9ce0abcbf170
libxenlight: wait for pv qemu initialization

this patch makes libxl_create_stubdom wait for pv qemu to be properly
initialized before unpausing the stubdom.
A new libxl_device_model_starting pointer is used to wait for pv qemu
initialization while the libxl_device_model_starting pointer given by
the user is initialized to a new structure with an empty for_spawn
member, because nothing that was spawn has to be waited for anymore.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
tools/libxl/libxl.c
tools/libxl/libxl_exec.c
tools/libxl/libxl_internal.h